package com.quad.innovators.salesease.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.quad.innovators.salesease.enums.StatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;


@Schema(description ="角色分页对象")
@Data
public class SysRolePageVO {

        @Schema(description="角色名称")
        private String name;

        @Schema(description="角色编码")
        private String code;

        @Schema(description="角色状态")
        private StatusEnum status;

        @Schema(description="角色描述")
        private String description;

        @Schema(description="操作人名称")
        private String updateUserName;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

}
